package com.abai.doubi.entity.dto;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

@Data
public class TextMessageDTO {
    @NotBlank(message = "会话ID不能为空")
    private String sessionId;

    @NotBlank(message = "用户消息不能为空")
    private String userMessage;

    @NotNull(message = "角色ID不能为空")
    private Long roleId;
}